package com.example.demo.mapper;

import com.example.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    int InUser(User user);
    Integer SelName(User user);
    //查询名字
    Integer checkUser(String account,String password);
    //查询账号
    Integer checkAccount(User user);
    List<User> rname(String account);

    Integer cname(String name);
}
